<template>
	<view class="wraper">
		<img class='img' :src="default_pic" alt="">
	</view>
</template>

<script>
	export default {
		props:['pic'],
		data() {
			return {
				default_pic:this.config.DEFAULT_NODATA
			};
		},
		computed:{
			getDataImg(){
				if(this.pic) {
					this.default_pic = this.pic
				}
				return this.default_pic
			}	
		}
	}
</script>
<style lang="scss" scoped>
	.wraper{
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		background: #fff;
		padding:40rpx;
		.img{
			width: 748rpx;
			height: 576rpx;
		}
	}
</style>